Average sentence length |
---|
14.8912 |
sentence length | percentage |
---|---|
2 | 0.0140 |
3 | 0.6290 |
4 | 2.0990 |
5 | 3.4690 |
6 | 4.8130 |
7 | 5.1920 |
8 | 5.6810 |
9 | 5.7330 |
10 | 5.8480 |
11 | 5.7040 |
12 | 5.6200 |
13 | 5.3420 |
14 | 4.8780 |
15 | 4.7730 |
16 | 4.3140 |
17 | 4.0710 |
18 | 3.6950 |
19 | 3.2670 |
20 | 2.9800 |
21 | 2.6630 |
22 | 2.4020 |
23 | 2.1960 |
24 | 2.0680 |
25 | 1.8830 |
26 | 1.6780 |
27 | 1.5480 |
28 | 1.3160 |
29 | 1.2010 |
30 | 1.0260 |
31 | 0.9100 |
32 | 0.7150 |
33 | 0.6380 |
34 | 0.4560 |
35 | 0.3900 |
36 | 0.2940 |
37 | 0.1870 |
38 | 0.1080 |
39 | 0.0790 |
40 | 0.0570 |
41 | 0.0280 |
42 | 0.0140 |
43 | 0.0140 |
44 | 0.0010 |
45 | 0.0040 |
46 | 0.0020 |
Next we measure the length of a sentence by its number of words. Again, we are interested in average length and length distribution.
See above.
For simplicity, the number of words in a sentence is calculated as 1+(Number of blanks in the sentence).
Average length:
select avg(1+char_length(sentence)-char_length( replace(sentence," ",""))) from sentences;
Distribution:
SELECT @all:=count(*) from sentences;
select 1+char_length(sentence)-char_length( replace(sentence," ","")), 100*count(*)/@all from sentences where 50>=1+char_length(sentence)-char_length(replace(sentence," ",""))group by 1+char_length(sentence)-char_length( replace( sentence," ",""));
4.2.1 Length of sentences in characters